package com.atguigu.gulimall.product.feign;

import com.atguigu.common.to.es.SkuEsModel;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @ClassName SearchFeignService
 * @Description TODO
 * @Author Administrator
 * @Date 2022/6/21 16:36
 * @Version 1.0
 **/
@FeignClient("gulimall-search")
public interface SearchFeignService {


    //上架商品\
    @PostMapping("/search/product")
    public R productStatuUp(@RequestBody List<SkuEsModel> skuEsModelList);

}
